package com.ygxsk.carhome.response;

import android.os.Parcel;
import android.os.Parcelable;

public class CouponCustomerVoCopy implements Parcelable {


    /**
     * 优惠券ID
     */
    private String couponId;

    //发送的优惠券的主键id
    private int couponCustomerId;

    //该审核的权限，是否有审核权限
    private int isExamine;

    //优惠大礼包的详情的id,的主键
    private int packCustomerId;

    public int getPackCustomerId() {
        return packCustomerId;
    }

    public void setPackCustomerId(int packCustomerId) {
        this.packCustomerId = packCustomerId;
    }

    public int getIsExamine() {
        return isExamine;
    }

    public void setIsExamine(int isExamine) {
        this.isExamine = isExamine;
    }

    public int getCouponCustomerId() {
        return couponCustomerId;
    }

    public void setCouponCustomerId(int couponCustomerId) {
        this.couponCustomerId = couponCustomerId;
    }

    public String getCouponId() {
        return couponId;
    }

    public void setCouponId(String couponId) {
        this.couponId = couponId;
    }


    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.couponId);
        dest.writeInt(this.couponCustomerId);
        dest.writeInt(this.isExamine);
        dest.writeInt(this.packCustomerId);
    }

    public void readFromParcel(Parcel source) {
        this.couponId = source.readString();
        this.couponCustomerId = source.readInt();
        this.isExamine = source.readInt();
        this.packCustomerId = source.readInt();
    }

    public CouponCustomerVoCopy() {
    }

    protected CouponCustomerVoCopy(Parcel in) {
        this.couponId = in.readString();
        this.couponCustomerId = in.readInt();
        this.isExamine = in.readInt();
        this.packCustomerId = in.readInt();
    }

    public static final Parcelable.Creator<CouponCustomerVoCopy> CREATOR = new Parcelable.Creator<CouponCustomerVoCopy>() {
        @Override
        public CouponCustomerVoCopy createFromParcel(Parcel source) {
            return new CouponCustomerVoCopy(source);
        }

        @Override
        public CouponCustomerVoCopy[] newArray(int size) {
            return new CouponCustomerVoCopy[size];
        }
    };
}
